home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / JFC.bin / AccessibleResourceBundle.java < prev    next >
Text File  |  1998-06-30  |  5KB  |  139 lines

  1. /*
  2.  * %W% %E%
  3.  * 
  4.  * Copyright (c) 1997 Sun Microsystems, Inc. All Rights Reserved.
  5.  * 
  6.  * This software is the confidential and proprietary information of Sun
  7.  * Microsystems, Inc. ("Confidential Information").  You shall not
  8.  * disclose such Confidential Information and shall use it only in
  9.  * accordance with the terms of the license agreement you entered into
  10.  * with Sun.
  11.  * 
  12.  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
  13.  * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  14.  * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  15.  * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
  16.  * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
  17.  * THIS SOFTWARE OR ITS DERIVATIVES.
  18.  * 
  19.  */
  20.  
  21. package com.sun.java.accessibility;
  22.  
  23. import java.util.ListResourceBundle;
  24.  
  25. /**
  26.  * A resource bundle containing the localized strings in the accessibility 
  27.  * package.  This is meant only for internal use by Java Accessibility and
  28.  * is not meant to be used by assistive technologies or applications.
  29.  *
  30.  * @version     %I% %G% %U%
  31.  * @author      Willie Walker
  32.  */
  33. public class AccessibleResourceBundle extends ListResourceBundle {
  34.  
  35.     /**
  36.      * Returns the mapping between the programmatic keys and the
  37.      * localized display strings.
  38.      */
  39.     public Object[][] getContents() {
  40.     return contents;
  41.     }
  42.  
  43.     /** 
  44.      * The table holding the mapping between the programmatic keys
  45.      * and the display strings for the en_US locale.
  46.      */
  47.     static final Object[][] contents = {
  48.     // LOCALIZE THIS
  49.         // Role names
  50. //        { "application","application" },
  51. //        { "border","border" },
  52. //        { "checkboxmenuitem","check box menu item" },
  53. //        { "choice","choice" },
  54. //        { "column","column" },
  55. //        { "cursor","cursor" },
  56. //        { "document","document" },
  57. //        { "grouping","grouping" },
  58. //        { "image","image" },
  59. //        { "indicator","indicator" },
  60. //        { "listitem","list item" },
  61. //        { "radiobuttonmenuitem","radio button menu item" },
  62. //        { "row","row" },
  63. //        { "tablecell","table cell" },
  64. //        { "treenode","tree node" },
  65.         { "alert","alert" },
  66.         { "awtcomponent","AWT component" },
  67.         { "checkbox","check box" },
  68.         { "columnheader","column header" },
  69.         { "combobox","combo box" },
  70.         { "desktopicon","desktop icon" },
  71.         { "desktoppane","desktop pane" },
  72.         { "dialog","dialog" },
  73.         { "directorypane","directory pane" },
  74.         { "glasspane","glass pane" },
  75.         { "filechooser","file chooser" },
  76.         { "filler","filler" },
  77.         { "frame","frame" },
  78.         { "internalframe","internal frame" },
  79.         { "label","label" },
  80.         { "layeredpane","layered pane" },
  81.         { "list","list" },
  82.         { "menubar","menu bar" },
  83.         { "menu","menu" },
  84.         { "menuitem","menu item" },
  85.         { "pagetab","page tab" },
  86.         { "pagetablist","page tab list" },
  87.         { "panel","panel" },
  88.     { "passwordtext","password text" },
  89.         { "popupmenu","popup menu" },
  90.         { "progressbar","progress bar" },
  91.         { "pushbutton","push button" },
  92.         { "radiobutton","radio button" },
  93.         { "rootpane","root pane" },
  94.         { "rowheader","row header" },
  95.         { "scrollbar","scroll bar" },
  96.         { "scrollpane","scroll pane" },
  97.         { "separator","separator" },
  98.         { "slider","slider" },
  99.         { "splitpane","split pane" },
  100.         { "swingcomponent","swing component" },
  101.         { "table","table" },
  102.         { "text","text" },
  103.         { "tree","tree" },
  104.         { "togglebutton","toggle button" },
  105.         { "toolbar","tool bar" },
  106.         { "tooltip","tool tip" },
  107.         { "unknown","unknown" },
  108.         { "viewport","viewport" },
  109.         { "window","window" },
  110.         // State modes
  111.         { "active","active" },
  112.         { "armed","armed" },
  113.         { "busy","busy" },
  114.         { "checked","checked" },
  115.     { "collapsed", "collapsed" },
  116.         { "editable","editable" },
  117.     { "expandable", "expandable" },
  118.     { "expanded", "expanded" },
  119.         { "enabled","enabled" },
  120.         { "focusable","focusable" },
  121.         { "focused","focused" },
  122.     { "iconified", "iconified" },
  123.     { "modal", "modal" },
  124.     { "multiline", "multiple line" },
  125.         { "multiselectable","multiselectable" },
  126.     { "opaque", "opaque" },
  127.         { "pressed","pressed" },
  128.     { "resizable", "resizable" },
  129.         { "selectable","selectable" },
  130.         { "selected","selected" },
  131.         { "showing","showing" },
  132.     { "singleline", "single line" },
  133.         { "visible","visible" },
  134.         { "vertical","vertical" },
  135.         { "horizontal","horizontal" }
  136.     // END OF MATERIAL TO LOCALIZE
  137.     };
  138. }
  139.